<<<<<<< HEAD
<!DOCTYPE html>
<html >
<head>
  <meta http-equiv="content-type" content="text/html,charset=utf-8" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta http-equiv="Content-Security-Policy" content="none" />
  <title>Demo页</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="format-detection" content="telephone=no"/>
  <script src="demo.js"></script>
</head>
<body>
<div class="stacks">
  <div class="wrap wrap-justhead" style="height: 100%;box-sizing: border-box;">
    <header class="page-head">
      <div class="back-img back-to-native" id = "back_left"><img src="images/back-icon.png"></div>
      <h1>CordovaDemo</h1>
    </header>
    <section class="page-content" style=" box-sizing: border-box;padding: 0 10px">
      <button id = "judge">判断是否登录</button>
      <button id = "login">跳转登录页</button>
      <button id = "getUserInfo">获取用户信息</button>
    </section>
  </div>
</div>
</body>
</html>
<style scoped>
  /*主体部分 背景色固定为灰白*/
  html,body{
    font-family: "PingFangSC-Light","Droid Sans","Droid Sans Fallback","Roboto","Helvetica Neue","Helvetica",sans-serif;
    max-width: 640px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    font-size: 14px;
    margin: 0 auto;
    padding: 0;
    color: #222;
    /*background-color: #D3E3F2;*/
    background-color: #f0eff5;
  }
  /*用户页面*/
  .stacks {
    width: 100%;
    height: 100%;
  }
  /*页面当中只固定头部*/
  .wrap-justhead{
    padding-top: 44px;
  }
  /*主体*/
  section{
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*头部*/
  header{
    background: #fff;
  }
  .page-head{
    border-bottom: 1px solid #ccc;
    height: 44px;
    line-height: 22px;
    font-size: 18px;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
  }
  .back-img{
    position: absolute;
    left: 14px;
    top: 8px;
    width: 40px;
    text-align: left;
  }
  h1{
    font-size: 16px;
  }
  .page-head img{
    width: 9px;
  }
  .logo {
    text-align: center;
    margin: 15% 10% 15% 10%;
  }
  button{
    width: 100%;
    border-radius: 6px;
    border: none;
    border-bottom: 1px solid #d8d8e0;
    line-height: 42px;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    font-size: 14px;
    background: #00aaee;
    color: #fff;
  }
  #temImg{
    position: fixed;
    left: 10%;
    top:10%;
    width: 80%;
    display: none;
    background-color: #7f7f7f;
    text-align: center;
    z-index: 100;
  }
  .inImg{
    width:100%;
  }
</style>
=======
<!DOCTYPE html>
<html >
<head>
  <meta http-equiv="content-type" content="text/html,charset=utf-8" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta http-equiv="Content-Security-Policy" content="none" />
  <title>Demo页</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="format-detection" content="telephone=no"/>
  <script src="demo.js"></script>
</head>
<body>
<div class="stacks">
  <div class="wrap wrap-justhead" style="height: 100%;box-sizing: border-box;">
    <header class="page-head">
      <div class="back-img back-to-native" id = "back_left"><img src="images/back-icon.png"></div>
      <h1>CordovaDemo</h1>
    </header>
    <section class="page-content" style=" box-sizing: border-box;padding: 0 10px">
      <button id = "judge">判断是否登录</button>
      <button id = "login">跳转登录页</button>
      <button id = "getUserInfo">获取用户信息</button>
    </section>
  </div>
</div>
</body>
</html>
<style scoped>
  /*主体部分 背景色固定为灰白*/
  html,body{
    font-family: "PingFangSC-Light","Droid Sans","Droid Sans Fallback","Roboto","Helvetica Neue","Helvetica",sans-serif;
    max-width: 640px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    font-size: 14px;
    margin: 0 auto;
    padding: 0;
    color: #222;
    /*background-color: #D3E3F2;*/
    background-color: #f0eff5;
  }
  /*用户页面*/
  .stacks {
    width: 100%;
    height: 100%;
  }
  /*页面当中只固定头部*/
  .wrap-justhead{
    padding-top: 44px;
  }
  /*主体*/
  section{
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*头部*/
  header{
    background: #fff;
  }
  .page-head{
    border-bottom: 1px solid #ccc;
    height: 44px;
    line-height: 22px;
    font-size: 18px;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
  }
  .back-img{
    position: absolute;
    left: 14px;
    top: 8px;
    width: 40px;
    text-align: left;
  }
  h1{
    font-size: 16px;
  }
  .page-head img{
    width: 9px;
  }
  .logo {
    text-align: center;
    margin: 15% 10% 15% 10%;
  }
  button{
    width: 100%;
    border-radius: 6px;
    border: none;
    border-bottom: 1px solid #d8d8e0;
    line-height: 42px;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    font-size: 14px;
    background: #00aaee;
    color: #fff;
  }
  #temImg{
    position: fixed;
    left: 10%;
    top:10%;
    width: 80%;
    display: none;
    background-color: #7f7f7f;
    text-align: center;
    z-index: 100;
  }
  .inImg{
    width:100%;
  }
</style>
>>>>>>> fe6150b8d3b7c765cce1e7efca6465b3e9aa1202
